<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro" %>
<html>
<head>
    <title>考试管理</title>

    <!--引入公共的easyui文件头-->
    <%@include file="/WEB-INF/views/commons/common_easyui.jsp" %>

    <script type="text/javascript" src="/static/js/system/examination.js"></script>
</head>
<body>

<!--begin信息列表-->
<table id="examination_datagrid"></table>
<!--end信息列表-->

<!--begin左上角工具栏-->
<div id="examination_tb">
    <div>
        <shiro:hasPermission name="examination:delete">
            <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"
               data-cmd="remove">删除</a>
        </shiro:hasPermission>
        <%--   <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>--%>
        <shiro:hasPermission name="examination:changeStateById">
            <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-man',plain:true"
               data-cmd="change">审核通过</a>
        </shiro:hasPermission>
        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true"
           data-cmd="reload">刷新</a>
    </div>
    <%--高级查询输入框--%>
    <div>
        名字/电话:<input class="easyui-textbox" name="keywords" id="keywords">
        意向班级:<input class="easyui-combobox" name="name" id="interestClassId"
                    data-options="valueField:'id',textField:'name',url:'/examination/getInterestClass', panelHeight:'auto'"
    >
        考试时间:<input class="easyui-datebox" name="beginDate" id="beginDate">
        ~<input class="easyui-datebox" name="endDate" id="endDate">
        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true"
           data-cmd="query">查询</a>
    </div>
</div>
<!--end左上角工具栏-->

<!--begin添加/编辑对话框-->
<div id="examination_dialog" align="center">
    <form id="examination_form" method="post">
        <table style="margin-top: 20px;">
            <input type="hidden" name="id" id="examinationId">
            <tr>
                <td>处理人</td>
                <td><input class="easyui-combobox" name="testHandle" data-options="
                           valueField:'id',textField:'username',url:'/examination/getHander', panelHeight:'auto'"></td>
            </tr>

            <tr>
                <td>备注</td>
                <td><input class="easyui-textbox" data-options="width:300,height:50" name="remarks"></td>
            </tr>
        </table>
    </form>
</div>
<!--end添加/编辑对话框-->

<!--begin添加/编辑对话框底部按钮-->
<div id="examination_bb">
    <a href="javascript:;" class="easyui-linkbutton" plain="true" iconCls="icon-save" data-cmd="save">保存</a>
    <a href="javascript:;" class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="cancel">取消</a>
</div>
<!--end添加/编辑对话框底部按钮-->

</body>
</html>
